
using Rainfall.WebRequest;
using UnityEngine;

public class HP01_HttpPostAsr : C0101_HttpPostBase<ER01_AudioRequstDTO, EP01_AsrResponseDTO>
{
    public override string ServerUrl => "http://59.77.5.10:7861/asr";

    public HP01_HttpPostAsr(ER01_AudioRequstDTO request)
    {
        this.request = request;
        this.OnPostSucceed += HandlePostSucceed;
    }


    private void HandlePostSucceed(EP01_AsrResponseDTO response)
    {
        Debug.Log("Asr Post code:" + response.code);
        Debug.Log("Asr Post msg: " + response.msg);
        // if 
    }
}

